package cn.lcsjsxy.yxc.objectoriented.学生类Json;

public class Dog {
    private String name;

    public Dog(String name) {
        this.name = name;
    }

    public Dog() {
    }

    public void eat(){
        System.out.println("狗吃吃吃吃");
    }

    public void play(){
        System.out.println("狗玩玩玩玩玩");
    }
}
